﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Uct_News_Detail.ascx.cs"
    Inherits="BatDongSan.Modules.Uct_News_Detail" %>
<%@ Register Assembly="ASPnetPagerV2_8" Namespace="ASPnetControls" TagPrefix="cc1" %>
<div id="titlenav">
    <div class="navlink">
        <a href="/Default.aspx">Trang chủ</a>
    </div>
    <span>></span>
    <asp:Literal ID="ltrnav" runat="server"></asp:Literal>
    <div style="clear: both">
    </div>
</div>
<div class="content_is" style="border:solid 1px #A7A4A8">
    <h3>
        <asp:Label ID="lblSubject" runat="server"></asp:Label>
    </h3>
    <div class="date">
        <asp:Label ID="lblDate" runat="server"></asp:Label></div>
    <div class="linengang">
    </div>
    <div style="padding: 0px 0px 10px 0px; line-height: 20px">
        <asp:Label ID="lblContent" runat="server"></asp:Label>
    </div>
    <div style="clear:both">
    </div>
    <div class="otheritem">
        <div class="title">
            <div class="o111">
                Tin mới nhất</div>
            <div class="line">
                &nbsp;</div>
        </div>
        <div class="o2">
            <ul>
                <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                    <Triggers>
                        <asp:AsyncPostBackTrigger ControlID="pager1" />
                    </Triggers>
                    <ContentTemplate>
                        <asp:Repeater ID="rptNewsOther" runat="server" OnItemDataBound="rptNewsOther_ItemDataBound">
                            <ItemTemplate>
                                <li>
                                    <asp:HyperLink ID="hplSubject" runat="server"></asp:HyperLink><span><%# Convert.ToDateTime(Eval("PostDate")).ToString("dd/MM/yyyy")%></span>
                                </li>
                            </ItemTemplate>
                        </asp:Repeater>
                    </ContentTemplate>
                </asp:UpdatePanel>
            </ul>
        </div>
        <div align="right">
            <asp:UpdatePanel ID="UpdatePanel2" runat="server">
                <Triggers>
                    <asp:AsyncPostBackTrigger ControlID="rptNewsOther" />
                </Triggers>
                <ContentTemplate>
                    <cc1:PagerV2_8 ID="pager1" runat="server" GenerateSmartShortCuts="false" OfClause="/"
                        OnCommand="mktpage_Command" PageSize="5" GenerateGoToSection="False" GenerateFirstLastSection="true"
                        CssClass="page" FirstClause="&amp;laquo;" LastClause="&amp;raquo;" GeneratePagerInfoSection="False"
                        NextClause="Next" PreviousClause="Back" />
                </ContentTemplate>
            </asp:UpdatePanel>
        </div>
    </div>
</div>
